/* 作品欣赏页面样式 */
.gallery-page {
    background-color: #f9f9f9;
}

/* 页面标题区域 */
.page-banner {
    background: linear-gradient(135deg, #c83c23, #a52c18);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0.1;
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 筛选区域 */
.gallery-filter {
    background-color: #fff;
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.filter-group {
    flex: 1;
    min-width: 300px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 30px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.filter-btn.active {
    background-color: #c83c23;
    color: #fff;
}

.search-box {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
}

.search-box button {
    padding: 10px 20px;
    background-color: #c83c23;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #a52c18;
}

/* 作品展示区域 */
.gallery-showcase {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

/* 作品展示区域 - 修改悬停效果，移除查看详情按钮 */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.overlay-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* 移除查看详情按钮相关样式 */
/* .view-details 样式已移除 */

.gallery-info {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.gallery-info h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-info p {
    color: #666;
    font-size: 0.9rem;
}

.load-more {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c83c23;
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: bold;
    cursor: pointer;
}

.btn:hover {
    background-color: #a52c18;
}

/* 作品详情弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    max-width: 1000px;
    width: 90%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.5s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #c83c23;
}

.work-details {
    display: flex;
    flex-wrap: wrap;
}

.work-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 30px;
}

.work-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.work-info h2 {
    color: #c83c23;
    font-size: 2rem;
    margin-bottom: 20px;
}

.work-meta {
    margin-bottom: 30px;
}

.work-meta p {
    margin-bottom: 10px;
    color: #666;
}

.work-meta strong {
    color: #333;
    display: inline-block;
    width: 100px;
}

.work-description, .work-features {
    margin-bottom: 30px;
}

.work-description h3, .work-features h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.work-description p {
    color: #666;
    line-height: 1.7;
}

.work-features ul {
    padding-left: 20px;
    color: #666;
    line-height: 1.7;
}

.work-features li {
    margin-bottom: 10px;
}

.work-detail-images, .related-works {
    padding: 30px;
    border-top: 1px solid #eee;
}

.work-detail-images h3, .related-works h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.detail-images-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.detail-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-image:hover img {
    transform: scale(1.1);
}

.related-works-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-work {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.related-work:hover {
    transform: translateY(-5px);
}

.related-work img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-work-info {
    padding: 10px;
    text-align: center;
}

.related-work-info h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-work-info p {
    color: #666;
    font-size: 0.8rem;
}

/* 展览活动部分 */
.exhibitions-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    color: #c83c23;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #c83c23;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.exhibitions-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.exhibition-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.exhibition-card:hover {
    transform: translateY(-10px);
}

.exhibition-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exhibition-card:hover .exhibition-image img {
    transform: scale(1.1);
}

.exhibition-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #c83c23;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.exhibition-date .month {
    display: block;
    font-size: 1rem;
    font-weight: bold;
}

.exhibition-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

.exhibition-info {
    padding: 25px;
}

.exhibition-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.exhibition-location {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.exhibition-location i {
    margin-right: 10px;
    color: #c83c23;
}

.exhibition-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 收藏与保养部分 */
.collection-care-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.collection-care-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.collection-care-image {
    flex: 1;
    min-width: 300px;
}

.collection-care-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.collection-care-text {
    flex: 1;
    min-width: 300px;
}

.collection-care-text h3 {
    color: #c83c23;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.collection-care-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.care-tips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.care-tip {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.care-tip:hover {
    transform: translateY(-5px);
}

.care-tip h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.care-tip h4 i {
    margin-right: 10px;
    color: #c83c23;
}

.care-tip p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .work-details {
        flex-direction: column;
    }
    
    .work-image, .work-info {
        max-width: 100%;
    }
    
    .exhibitions-slider {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .exhibitions-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .care-tips {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box button {
        width: 100%;
    }
}